const mongoose = require('mongoose')

const UserSchema = new mongoose.Schema({
    name: {
        type: String,
        index: true  //索引
    },
    age: {
        type: Number,
        index: true  //索引
      
    },
})

module.exports = mongoose.model('User', UserSchema)